// 导入二次封装axios
import koi from "@/utils/axios.ts";


export const listPage = (data: any) => koi.get("/admin/user/user-level/list", data);
export const read = (id: any) => koi.get("/admin/user/user-level/read", {id});
export const update = (data: any) => koi.post("/admin/user/user-level/update", data);
export const add = (data: any) => koi.post("/admin/user/user-level/add", data);

export const getAllUserLevel = () => koi.get("/admin/user/user-level/getAllUserLevel");
